<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>

<script type ="text/javascript"  src="web_resources/jquery/jquery-1.10.2.js"></script >
<script type="text/javascript">
	$(document).ready(function() {
		//$("#startDiv").css("border", "1px solid #000000");
		$(".contentDiv").each(function (index) {
			var children = $(this).children();
			children.each(function() {
				//alert($(this).prop("tagName"));
			});
			  
			
		});
	});
</script>
</head>
<body>
 <div class="contentDiv">
    <h1>Hello world 1</h1>
 </div>
 <div class="contentDiv">
    <h1>Hello world 2</h1>
 </div>
 <div class="contentDiv">
    <h1>Hello world 3</h1>
 </div>
</body>
</html>